<?php

// Model:'DeTaiLuanVan' - Database Table: 'de_tai_luan_van'

Class DeTaiLuanVan extends Eloquent
{

    protected $table='de_tai_luan_van';

    public function chitietcanbohuongdan()
    {
        return $this->hasMany('ChiTietCanBoHuongDan');
    }

    public function hoidongxetduyet()
    {
        return $this->hasMany('HoiDongXetDuyet');
    }

    public function kehoachhuongdan()
    {
        return $this->hasMany('KeHoachHuongDan');
    }

    public function nhomdangki()
    {
        return $this->hasMany('NhomDangKi');
    }

    public function hockynienkhoa()
    {
        return $this->belongsTo('HocKyNienKhoa');
    }

    public function bomon()
    {
        return $this->belongsTo('BoMon');
    }

}